<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf"%>
<script type="text/javascript" src="${ctx}/js/system/user/add.js">
	
</script>
<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
	text-align: right;
}

.col-sm-9 {
	width: 32%;
	float: left;
	text-align: left;
}

label[class^="btn btn-default"] {
	margin-top: -4px;
}
</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post"
		  action="${ctx}/product/addProduct.shtml">
		<section class="panel panel-default">
			<div class="panel-body">
				<div class="form-group">
					<div class="col-sm-3">
						<label class="control-label">产品编号</label>
					</div>
					<div class="col-sm-9">
						<input type="text" class="form-control"
							   name="productFormMap.itemCode" id="itemCode">

					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">产品名称</label>
						<div class="col-sm-9">
							<input type="text" class="form-control"
								   name="productFormMap.itemName"
								   id="itemName">
						</div>
					</div>
				</div>

				<div class="form-group">
					<label class="col-sm-3 control-label">产品规格</label>
					<div class="col-sm-9">
						<input type="text" class="form-control"
							   name="productFormMap.itemSpec"
							   id="itemSpec">
					</div>

					<div class="form-group">
						<label class="col-sm-3 control-label">产品单位</label>
						<div class="col-sm-9">
							<select class="form-control" name="productFormMap.unitId" id="unitId">
								<option value="1">条</option>
								<option value="2">克</option>
								<option value="3">KG</option>
								<option value="4">台</option>
								<option value="5">个</option>
							</select>
						</div>
					</div>
				</div>


				<div class="form-group">
					<label class="col-sm-3 control-label">产品产地</label>
					<div class="col-sm-9">
						<input type="text" class="form-control"
							   name="productFormMap.itemArea"
							   id="itemArea">
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">产品类别</label>
						<div class="col-sm-9">
							<select class="form-control" name="productFormMap.itemTypeId" id="itemTypeId">
								<option value="2">Beckhoff</option>
								<option value="3">Baumueller包米勒</option>
								<option value="5">合耕科技有限公司</option>
								<option value="6">空调配件有限公司</option>
							</select>
						</div>
					</div>
				</div>

				<div class="form-group">
					<label class="col-sm-3 control-label">产品价格</label>
					<div class="col-sm-9">
						<input type="text" class="form-control checkacc"
							   name="productFormMap.itemPrice"
							   id="itemPrice">
					</div>
					<div class="form-group">
						<label class="col-sm-3 control-label">供应商</label>
						<div class="col-sm-9">
							<select class="form-control" name="productFormMap.clientId" id="clientId">
								<option value="2">Beckhoff</option>
								<option value="3">Baumueller包米勒</option>
								<option value="4">展会观众</option>
								<option value="5">合耕科技有限公司</option>
								<option value="6">空调配件有限公司</option>
							</select>
						</div>
					</div>
				</div>
				<div class="line line-dashed line-lg pull-in"></div>
				<footer class="panel-footer text-right bg-light lter">
					<button type="submit" class="btn btn-success btn-s-xs">提交</button>
				</footer>
		</section>
	</form>
	<script type="text/javascript">
		onloadurl();
	</script>
	<script type="text/javascript"
		src="${ctx}/notebook/notebook_files/bootstrap-filestyle.min.js"></script>
</body>
</html>